package com.chuangjiangx.member.score.ddd.query.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 当前会员积分明细列表-商户平台
 * Created by YangKuo on 2017/11/28.
 */
@Data
public class ScoreStreamForMerchantDTO {

    /**
     * 明细id
     */
    private Long id;

    /**
     * 交易时间
     */
    private Date createTime;

    /**
     * 积分类型：1：消费，2：兑换，3：退款，4：储值赠送
     */
    private Byte type;

    private String typeText;

    /**
     * 交易积分
     */
    private Long score;

    /**
     * 可用积分
     */
    private Long availableScore;

    /**
     * 操作人
     */
    private String storeUserName;

    public ScoreStreamForMerchantDTO(Long id, Date createTime, Byte type, Long score, Long availableScore, String storeUserName) {
        this.id = id;
        this.createTime = createTime;
        this.type = type;
        this.score = score;
        this.availableScore = availableScore;
        this.storeUserName = storeUserName;
    }
}
